package algorithmCompetition;

public class ALGO_11 {
    static int n = 4;
    public static void main(String[] args) {
        System.out.println(function(n));
    }

    public static int function(int n){
        if(n==1){
            return 1;
        }
        if(n == 2){
            return 2;
        }
        return function(n-1) + function(n-2);
    }
}
